package com.ruoyi.system.entity;

import cn.hutool.core.util.StrUtil;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;
import java.io.Serializable;

/**
 * 生产实时点位(SysProductionPoint)实体类
 *
 * @author makejava
 * @since 2023-06-01 14:03:46
 */
public class SysProductionPoint implements Serializable {
    private static final long serialVersionUID = 530438713568388633L;
    
    private Integer id;
    /**
     * 装置名称
     */
    @Excel(name = "装置名称")
    private String deviceName;
    /**
     * 指标名称
     */
    @Excel(name = "指标名称")
    private String indexName;
    /**
     * 类型 1-装车站 2-泵棚
     */
    @Excel(name = "类型 1-装车站 2-泵棚")
    private Integer type;
    /**
     * 位号
     */
    @Excel(name = "位号")
    private String bitNumber;
    /**
     * 实时数据库位号
     */
    private String databaseBitNumber;
    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;
    /**
     * 低低报
     */
    @Excel(name = "低低报")
    private String playItLow;
    /**
     * 低报
     */
    @Excel(name = "低报")
    private String lowQuota;
    /**
     * 高报
     */
    @Excel(name = "高报")
    private String highQuota;
    /**
     * 高高报
     */
    @Excel(name = "高高报")
    private String highAndMighty;
    /**
     * 里程
     */
    @Excel(name = "里程")
    private String dangerRange;
    
    private Date createTime;
    
    private Date updateTime;

    /**
     * 实时数据库值
     */
    private String av;

    public String getAv() {
        if (StrUtil.isEmpty(av)) {
            this.av = "0";
        }
        return av;
    }

    public void setAv(String av) {
        this.av = av;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getBitNumber() {
        return bitNumber;
    }

    public void setBitNumber(String bitNumber) {
        this.bitNumber = bitNumber;
    }

    public String getDatabaseBitNumber() {
        return databaseBitNumber;
    }

    public void setDatabaseBitNumber(String databaseBitNumber) {
        this.databaseBitNumber = databaseBitNumber;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getPlayItLow() {
        return playItLow;
    }

    public void setPlayItLow(String playItLow) {
        this.playItLow = playItLow;
    }

    public String getLowQuota() {
        return lowQuota;
    }

    public void setLowQuota(String lowQuota) {
        this.lowQuota = lowQuota;
    }

    public String getHighQuota() {
        return highQuota;
    }

    public void setHighQuota(String highQuota) {
        this.highQuota = highQuota;
    }

    public String getHighAndMighty() {
        return highAndMighty;
    }

    public void setHighAndMighty(String highAndMighty) {
        this.highAndMighty = highAndMighty;
    }

    public String getDangerRange() {
        return dangerRange;
    }

    public void setDangerRange(String dangerRange) {
        this.dangerRange = dangerRange;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

